<!doctype html>
<html>
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>xeokit Example</title>
  <link href="../css/pageStyle.css" rel="stylesheet"/>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js"></script>
  <link href="../css/dat-gui-light-style.css" rel="stylesheet"/>
  <script src="../libs/dat.gui.min.js" type="text/javascript"></script>
</head>
<body>
<input type="checkbox" id="info-button"/>
<label for="info-button" class="info-button"><i class="far fa-3x fa-question-circle"></i></label>
<canvas id="myCanvas"></canvas>
<div class="slideout-sidebar">
  <img class="info-icon" src="../../assets/images/geometry_icon.png"/>
  <h1>Building point cloud heatmap</h1>
  <h2>SceneModel with point cloud which represents a heatmap</h2>
  <p>In this example, we're programmatically building a point cloud which represents a heatmap</p>
  <h3>Components Used</h3>
  <ul>
    <li>
      <a href="../../docs/class/src/viewer/Viewer.js~Viewer.html"
         target="_other">Viewer</a>
    </li>
    <li>
      <a href="../../docs/class/src/viewer/scene/model/SceneModel.js~SceneModel.html"
         target="_other">SceneModel</a>
    </li>
    <li>
      <a href="../../docs/class/src/plugins/DotBIMLoaderPlugin/DotBIMLoaderPlugin.js~DotBIMLoaderPlugin.html"
         target="_other">DotBIMLoaderPlugin</a>
    </li>
    <li>
      <a href="../../docs/class/src/plugins/SectionPlanesPlugin/SectionPlanesPlugin.js~SectionPlanesPlugin.html"
         target="_other">SectionPlanesPlugin</a>
    </li>
  </ul>
  <h3>Assets</h3>
  <ul>
    <li><a href="https://www.dotbim.net/" target="_other">Model source</a></li>
  </ul>
</div>
</body>

<script type="module">

  //------------------------------------------------------------------------------------------------------------------
  // Import the modules we need for this example
  //------------------------------------------------------------------------------------------------------------------

  import {
    Viewer,
    SceneModel,
    DotBIMLoaderPlugin,
    SectionPlanesPlugin
  } from "../../dist/xeokit-sdk.min.es.js";

  //------------------------------------------------------------------------------------------------------------------
  // Create a Viewer and arrange the camera
  //------------------------------------------------------------------------------------------------------------------

  const viewer = new Viewer({
    canvasId: "myCanvas",
    transparent: true,
    dtxEnabled: true
  });

  viewer.scene.camera.eye = [-5.522, 14.291, -14.459];
  viewer.scene.camera.look = [2.231, 5.154, -7.354];
  viewer.scene.camera.up = [0.585, 0.712, 0.385];

  viewer.cameraControl.navMode = "orbit";
  viewer.cameraControl.followPointer = true;

  viewer.scene.pointsMaterial.roundPoints = true;
  viewer.scene.pointsMaterial.perspectivePoints = true;
  viewer.scene.pointsMaterial.pointSize = 2;
  viewer.scene.pointsMaterial.minPerspectivePointSize = 2;
  viewer.scene.pointsMaterial.maxPerspectivePointSize = 20;

  //------------------------------------------------------------------------------------------------------------------
  // Create a SceneModel containing the model
  //------------------------------------------------------------------------------------------------------------------

  const dotBIMLoader = new DotBIMLoaderPlugin(viewer);

  const sceneModel = dotBIMLoader.load({
    id: "myModel",
    src: "../../assets/models/dotbim/BlenderHouse.bim",
    saoEnabled: true,
    edges: true,
    rotation: [-90, 0, 0]
  });

  //------------------------------------------------------------------------------------------------------------------
  // Add a SectionPlanesPlugin - we'll use this to create cross-section planes
  //------------------------------------------------------------------------------------------------------------------

  const sectionPlanes = new SectionPlanesPlugin(viewer, {
    overviewVisible: false
  });

  //------------------------------------------------------------------------------------------------------------------
  // Create a cross-section plane
  //------------------------------------------------------------------------------------------------------------------

  const sectionPlane = sectionPlanes.createSectionPlane({
    id: "mySectionPlane",
    pos: [0.0, 4.4, 0.0],
    dir: [0.0, -1.0, 0.0]
  });

  //------------------------------------------------------------------------------------------------------------------
  // Create a SceneModel containing the point cloud heatmap
  //------------------------------------------------------------------------------------------------------------------

  const sceneModelWithPoints = new SceneModel(viewer.scene, {
    id: "myGeometries"
  });

  const positions = [
    0.45, 0.75, 3.5,0.653333, 0.75, 3.5,0.856667, 0.75, 3.5,1.06, 0.75, 3.5,1.263333, 0.75, 3.5,1.466667, 0.75, 3.5,1.67, 0.75, 3.5,1.873333, 0.75, 3.5,2.076667, 0.75, 3.5,2.28, 0.75, 3.5,2.483333, 0.75, 3.5,2.686667, 0.75, 3.5,2.89, 0.75, 3.5,3.093333, 0.75, 3.5,3.296667, 0.75, 3.5,3.5, 0.75, 3.5,3.703333, 0.75, 3.5,3.906667, 0.75, 3.5,4.11, 0.75, 3.5,4.313333, 0.75, 3.5,4.516667, 0.75, 3.5,4.72, 0.75, 3.5,4.923333, 0.75, 3.5,5.126667, 0.75, 3.5,5.33, 0.75, 3.5,5.533334, 0.75, 3.5,5.736667, 0.75, 3.5,5.94, 0.75, 3.5,6.143334, 0.75, 3.5,6.346667, 0.75, 3.5,6.55, 0.75, 3.5,0.45, 0.95, 3.5,0.653333, 0.95, 3.5,0.856667, 0.95, 3.5,1.06, 0.95, 3.5,1.263333, 0.95, 3.5,1.466667, 0.95, 3.5,1.67, 0.95, 3.5,1.873333, 0.95, 3.5,2.076667, 0.95, 3.5,2.28, 0.95, 3.5,2.483333, 0.95, 3.5,2.686667, 0.95, 3.5,2.89, 0.95, 3.5,3.093333, 0.95, 3.5,3.296667, 0.95, 3.5,3.5, 0.95, 3.5,3.703333, 0.95, 3.5,3.906667, 0.95, 3.5,4.11, 0.95, 3.5,4.313333, 0.95, 3.5,4.516667, 0.95, 3.5,4.72, 0.95, 3.5,4.923333, 0.95, 3.5,5.126667, 0.95, 3.5,5.33, 0.95, 3.5,5.533334, 0.95, 3.5,5.736667, 0.95, 3.5,5.94, 0.95, 3.5,6.143334, 0.95, 3.5,6.346667, 0.95, 3.5,6.55, 0.95, 3.5,0.45, 1.15, 3.5,0.653333, 1.15, 3.5,0.856667, 1.15, 3.5,1.06, 1.15, 3.5,1.263333, 1.15, 3.5,1.466667, 1.15, 3.5,1.67, 1.15, 3.5,1.873333, 1.15, 3.5,2.076667, 1.15, 3.5,2.28, 1.15, 3.5,2.483333, 1.15, 3.5,2.686667, 1.15, 3.5,2.89, 1.15, 3.5,3.093333, 1.15, 3.5,3.296667, 1.15, 3.5,3.5, 1.15, 3.5,3.703333, 1.15, 3.5,3.906667, 1.15, 3.5,4.11, 1.15, 3.5,4.313333, 1.15, 3.5,4.516667, 1.15, 3.5,4.72, 1.15, 3.5,4.923333, 1.15, 3.5,5.126667, 1.15, 3.5,5.33, 1.15, 3.5,5.533334, 1.15, 3.5,5.736667, 1.15, 3.5,5.94, 1.15, 3.5,6.143334, 1.15, 3.5,6.346667, 1.15, 3.5,6.55, 1.15, 3.5,0.45, 1.35, 3.5,0.653333, 1.35, 3.5,0.856667, 1.35, 3.5,1.06, 1.35, 3.5,1.263333, 1.35, 3.5,1.466667, 1.35, 3.5,1.67, 1.35, 3.5,1.873333, 1.35, 3.5,2.076667, 1.35, 3.5,2.28, 1.35, 3.5,2.483333, 1.35, 3.5,2.686667, 1.35, 3.5,2.89, 1.35, 3.5,3.093333, 1.35, 3.5,3.296667, 1.35, 3.5,3.5, 1.35, 3.5,3.703333, 1.35, 3.5,3.906667, 1.35, 3.5,4.11, 1.35, 3.5,4.313333, 1.35, 3.5,4.516667, 1.35, 3.5,4.72, 1.35, 3.5,4.923333, 1.35, 3.5,5.126667, 1.35, 3.5,5.33, 1.35, 3.5,5.533334, 1.35, 3.5,5.736667, 1.35, 3.5,5.94, 1.35, 3.5,6.143334, 1.35, 3.5,6.346667, 1.35, 3.5,6.55, 1.35, 3.5,0.45, 1.55, 3.5,0.653333, 1.55, 3.5,0.856667, 1.55, 3.5,1.06, 1.55, 3.5,1.263333, 1.55, 3.5,1.466667, 1.55, 3.5,1.67, 1.55, 3.5,1.873333, 1.55, 3.5,2.076667, 1.55, 3.5,2.28, 1.55, 3.5,2.483333, 1.55, 3.5,2.686667, 1.55, 3.5,2.89, 1.55, 3.5,3.093333, 1.55, 3.5,3.296667, 1.55, 3.5,3.5, 1.55, 3.5,3.703333, 1.55, 3.5,3.906667, 1.55, 3.5,4.11, 1.55, 3.5,4.313333, 1.55, 3.5,4.516667, 1.55, 3.5,4.72, 1.55, 3.5,4.923333, 1.55, 3.5,5.126667, 1.55, 3.5,5.33, 1.55, 3.5,5.533334, 1.55, 3.5,5.736667, 1.55, 3.5,5.94, 1.55, 3.5,6.143334, 1.55, 3.5,6.346667, 1.55, 3.5,6.55, 1.55, 3.5,0.45, 1.75, 3.5,0.653333, 1.75, 3.5,0.856667, 1.75, 3.5,1.06, 1.75, 3.5,1.263333, 1.75, 3.5,1.466667, 1.75, 3.5,1.67, 1.75, 3.5,1.873333, 1.75, 3.5,2.076667, 1.75, 3.5,2.28, 1.75, 3.5,2.483333, 1.75, 3.5,2.686667, 1.75, 3.5,2.89, 1.75, 3.5,3.093333, 1.75, 3.5,3.296667, 1.75, 3.5,3.5, 1.75, 3.5,3.703333, 1.75, 3.5,3.906667, 1.75, 3.5,4.11, 1.75, 3.5,4.313333, 1.75, 3.5,4.516667, 1.75, 3.5,4.72, 1.75, 3.5,4.923333, 1.75, 3.5,5.126667, 1.75, 3.5,5.33, 1.75, 3.5,5.533334, 1.75, 3.5,5.736667, 1.75, 3.5,5.94, 1.75, 3.5,6.143334, 1.75, 3.5,6.346667, 1.75, 3.5,6.55, 1.75, 3.5,0.45, 1.95, 3.5,0.653333, 1.95, 3.5,0.856667, 1.95, 3.5,1.06, 1.95, 3.5,1.263333, 1.95, 3.5,1.466667, 1.95, 3.5,1.67, 1.95, 3.5,1.873333, 1.95, 3.5,2.076667, 1.95, 3.5,2.28, 1.95, 3.5,2.483333, 1.95, 3.5,2.686667, 1.95, 3.5,2.89, 1.95, 3.5,3.093333, 1.95, 3.5,3.296667, 1.95, 3.5,3.5, 1.95, 3.5,3.703333, 1.95, 3.5,3.906667, 1.95, 3.5,4.11, 1.95, 3.5,4.313333, 1.95, 3.5,4.516667, 1.95, 3.5,4.72, 1.95, 3.5,4.923333, 1.95, 3.5,5.126667, 1.95, 3.5,5.33, 1.95, 3.5,5.533334, 1.95, 3.5,5.736667, 1.95, 3.5,5.94, 1.95, 3.5,6.143334, 1.95, 3.5,6.346667, 1.95, 3.5,6.55, 1.95, 3.5,0.45, 2.15, 3.5,0.653333, 2.15, 3.5,0.856667, 2.15, 3.5,1.06, 2.15, 3.5,1.263333, 2.15, 3.5,1.466667, 2.15, 3.5,1.67, 2.15, 3.5,1.873333, 2.15, 3.5,2.076667, 2.15, 3.5,2.28, 2.15, 3.5,2.483333, 2.15, 3.5,2.686667, 2.15, 3.5,2.89, 2.15, 3.5,3.093333, 2.15, 3.5,3.296667, 2.15, 3.5,3.5, 2.15, 3.5,3.703333, 2.15, 3.5,3.906667, 2.15, 3.5,4.11, 2.15, 3.5,4.313333, 2.15, 3.5,4.516667, 2.15, 3.5,4.72, 2.15, 3.5,4.923333, 2.15, 3.5,5.126667, 2.15, 3.5,5.33, 2.15, 3.5,5.533334, 2.15, 3.5,5.736667, 2.15, 3.5,5.94, 2.15, 3.5,6.143334, 2.15, 3.5,6.346667, 2.15, 3.5,6.55, 2.15, 3.5,0.45, 2.35, 3.5,0.653333, 2.35, 3.5,0.856667, 2.35, 3.5,1.06, 2.35, 3.5,1.263333, 2.35, 3.5,1.466667, 2.35, 3.5,1.67, 2.35, 3.5,1.873333, 2.35, 3.5,2.076667, 2.35, 3.5,2.28, 2.35, 3.5,2.483333, 2.35, 3.5,2.686667, 2.35, 3.5,2.89, 2.35, 3.5,3.093333, 2.35, 3.5,3.296667, 2.35, 3.5,3.5, 2.35, 3.5,3.703333, 2.35, 3.5,3.906667, 2.35, 3.5,4.11, 2.35, 3.5,4.313333, 2.35, 3.5,4.516667, 2.35, 3.5,4.72, 2.35, 3.5,4.923333, 2.35, 3.5,5.126667, 2.35, 3.5,5.33, 2.35, 3.5,5.533334, 2.35, 3.5,5.736667, 2.35, 3.5,5.94, 2.35, 3.5,6.143334, 2.35, 3.5,6.346667, 2.35, 3.5,6.55, 2.35, 3.5,0.45, 2.55, 3.5,0.653333, 2.55, 3.5,0.856667, 2.55, 3.5,1.06, 2.55, 3.5,1.263333, 2.55, 3.5,1.466667, 2.55, 3.5,1.67, 2.55, 3.5,1.873333, 2.55, 3.5,2.076667, 2.55, 3.5,2.28, 2.55, 3.5,2.483333, 2.55, 3.5,2.686667, 2.55, 3.5,2.89, 2.55, 3.5,3.093333, 2.55, 3.5,3.296667, 2.55, 3.5,3.5, 2.55, 3.5,3.703333, 2.55, 3.5,3.906667, 2.55, 3.5,4.11, 2.55, 3.5,4.313333, 2.55, 3.5,4.516667, 2.55, 3.5,4.72, 2.55, 3.5,4.923333, 2.55, 3.5,5.126667, 2.55, 3.5,5.33, 2.55, 3.5,5.533334, 2.55, 3.5,5.736667, 2.55, 3.5,5.94, 2.55, 3.5,6.143334, 2.55, 3.5,6.346667, 2.55, 3.5,6.55, 2.55, 3.5,0.45, 2.75, 3.5,0.653333, 2.75, 3.5,0.856667, 2.75, 3.5,1.06, 2.75, 3.5,1.263333, 2.75, 3.5,1.466667, 2.75, 3.5,1.67, 2.75, 3.5,1.873333, 2.75, 3.5,2.076667, 2.75, 3.5,2.28, 2.75, 3.5,2.483333, 2.75, 3.5,2.686667, 2.75, 3.5,2.89, 2.75, 3.5,3.093333, 2.75, 3.5,3.296667, 2.75, 3.5,3.5, 2.75, 3.5,3.703333, 2.75, 3.5,3.906667, 2.75, 3.5,4.11, 2.75, 3.5,4.313333, 2.75, 3.5,4.516667, 2.75, 3.5,4.72, 2.75, 3.5,4.923333, 2.75, 3.5,5.126667, 2.75, 3.5,5.33, 2.75, 3.5,5.533334, 2.75, 3.5,5.736667, 2.75, 3.5,5.94, 2.75, 3.5,6.143334, 2.75, 3.5,6.346667, 2.75, 3.5,6.55, 2.75, 3.5,0.45, 2.95, 3.5,0.653333, 2.95, 3.5,0.856667, 2.95, 3.5,1.06, 2.95, 3.5,1.263333, 2.95, 3.5,1.466667, 2.95, 3.5,1.67, 2.95, 3.5,1.873333, 2.95, 3.5,2.076667, 2.95, 3.5,2.28, 2.95, 3.5,2.483333, 2.95, 3.5,2.686667, 2.95, 3.5,2.89, 2.95, 3.5,3.093333, 2.95, 3.5,3.296667, 2.95, 3.5,3.5, 2.95, 3.5,3.703333, 2.95, 3.5,3.906667, 2.95, 3.5,4.11, 2.95, 3.5,4.313333, 2.95, 3.5,4.516667, 2.95, 3.5,4.72, 2.95, 3.5,4.923333, 2.95, 3.5,5.126667, 2.95, 3.5,5.33, 2.95, 3.5,5.533334, 2.95, 3.5,5.736667, 2.95, 3.5,5.94, 2.95, 3.5,6.143334, 2.95, 3.5,6.346667, 2.95, 3.5,6.55, 2.95, 3.5,0.45, 3.15, 3.5,0.653333, 3.15, 3.5,0.856667, 3.15, 3.5,1.06, 3.15, 3.5,1.263333, 3.15, 3.5,1.466667, 3.15, 3.5,1.67, 3.15, 3.5,1.873333, 3.15, 3.5,2.076667, 3.15, 3.5,2.28, 3.15, 3.5,2.483333, 3.15, 3.5,2.686667, 3.15, 3.5,2.89, 3.15, 3.5,3.093333, 3.15, 3.5,3.296667, 3.15, 3.5,3.5, 3.15, 3.5,3.703333, 3.15, 3.5,3.906667, 3.15, 3.5,4.11, 3.15, 3.5,4.313333, 3.15, 3.5,4.516667, 3.15, 3.5,4.72, 3.15, 3.5,4.923333, 3.15, 3.5,5.126667, 3.15, 3.5,5.33, 3.15, 3.5,5.533334, 3.15, 3.5,5.736667, 3.15, 3.5,5.94, 3.15, 3.5,6.143334, 3.15, 3.5,6.346667, 3.15, 3.5,6.55, 3.15, 3.5,0.45, 3.35, 3.5,0.653333, 3.35, 3.5,0.856667, 3.35, 3.5,1.06, 3.35, 3.5,1.263333, 3.35, 3.5,1.466667, 3.35, 3.5,1.67, 3.35, 3.5,1.873333, 3.35, 3.5,2.076667, 3.35, 3.5,2.28, 3.35, 3.5,2.483333, 3.35, 3.5,2.686667, 3.35, 3.5,2.89, 3.35, 3.5,3.093333, 3.35, 3.5,3.296667, 3.35, 3.5,3.5, 3.35, 3.5,3.703333, 3.35, 3.5,3.906667, 3.35, 3.5,4.11, 3.35, 3.5,4.313333, 3.35, 3.5,4.516667, 3.35, 3.5,4.72, 3.35, 3.5,4.923333, 3.35, 3.5,5.126667, 3.35, 3.5,5.33, 3.35, 3.5,5.533334, 3.35, 3.5,5.736667, 3.35, 3.5,5.94, 3.35, 3.5,6.143334, 3.35, 3.5,6.346667, 3.35, 3.5,6.55, 3.35, 3.5,0.45, 3.55, 3.5,0.653333, 3.55, 3.5,0.856667, 3.55, 3.5,1.06, 3.55, 3.5,1.263333, 3.55, 3.5,1.466667, 3.55, 3.5,1.67, 3.55, 3.5,1.873333, 3.55, 3.5,2.076667, 3.55, 3.5,2.28, 3.55, 3.5,2.483333, 3.55, 3.5,2.686667, 3.55, 3.5,2.89, 3.55, 3.5,3.093333, 3.55, 3.5,3.296667, 3.55, 3.5,3.5, 3.55, 3.5,3.703333, 3.55, 3.5,3.906667, 3.55, 3.5,4.11, 3.55, 3.5,4.313333, 3.55, 3.5,4.516667, 3.55, 3.5,4.72, 3.55, 3.5,4.923333, 3.55, 3.5,5.126667, 3.55, 3.5,5.33, 3.55, 3.5,5.533334, 3.55, 3.5,5.736667, 3.55, 3.5,5.94, 3.55, 3.5,6.143334, 3.55, 3.5,6.346667, 3.55, 3.5,6.55, 3.55, 3.5,0.45, 3.75, 3.5,0.653333, 3.75, 3.5,0.856667, 3.75, 3.5,1.06, 3.75, 3.5,1.263333, 3.75, 3.5,1.466667, 3.75, 3.5,1.67, 3.75, 3.5,1.873333, 3.75, 3.5,2.076667, 3.75, 3.5,2.28, 3.75, 3.5,2.483333, 3.75, 3.5,2.686667, 3.75, 3.5,2.89, 3.75, 3.5,3.093333, 3.75, 3.5,3.296667, 3.75, 3.5,3.5, 3.75, 3.5,3.703333, 3.75, 3.5,3.906667, 3.75, 3.5,4.11, 3.75, 3.5,4.313333, 3.75, 3.5,4.516667, 3.75, 3.5,4.72, 3.75, 3.5,4.923333, 3.75, 3.5,5.126667, 3.75, 3.5,5.33, 3.75, 3.5,5.533334, 3.75, 3.5,5.736667, 3.75, 3.5,5.94, 3.75, 3.5,6.143334, 3.75, 3.5,6.346667, 3.75, 3.5,6.55, 3.75, 3.5,0.45, 3.95, 3.5,0.653333, 3.95, 3.5,0.856667, 3.95, 3.5,1.06, 3.95, 3.5,1.263333, 3.95, 3.5,1.466667, 3.95, 3.5,1.67, 3.95, 3.5,1.873333, 3.95, 3.5,2.076667, 3.95, 3.5,2.28, 3.95, 3.5,2.483333, 3.95, 3.5,2.686667, 3.95, 3.5,2.89, 3.95, 3.5,3.093333, 3.95, 3.5,3.296667, 3.95, 3.5,3.5, 3.95, 3.5,3.703333, 3.95, 3.5,3.906667, 3.95, 3.5,4.11, 3.95, 3.5,4.313333, 3.95, 3.5,4.516667, 3.95, 3.5,4.72, 3.95, 3.5,4.923333, 3.95, 3.5,5.126667, 3.95, 3.5,5.33, 3.95, 3.5,5.533334, 3.95, 3.5,5.736667, 3.95, 3.5,5.94, 3.95, 3.5,6.143334, 3.95, 3.5,6.346667, 3.95, 3.5,6.55, 3.95, 3.5,0.45, 4.15, 3.5,0.653333, 4.15, 3.5,0.856667, 4.15, 3.5,1.06, 4.15, 3.5,1.263333, 4.15, 3.5,1.466667, 4.15, 3.5,1.67, 4.15, 3.5,1.873333, 4.15, 3.5,2.076667, 4.15, 3.5,2.28, 4.15, 3.5,2.483333, 4.15, 3.5,2.686667, 4.15, 3.5,2.89, 4.15, 3.5,3.093333, 4.15, 3.5,3.296667, 4.15, 3.5,3.5, 4.15, 3.5,3.703333, 4.15, 3.5,3.906667, 4.15, 3.5,4.11, 4.15, 3.5,4.313333, 4.15, 3.5,4.516667, 4.15, 3.5,4.72, 4.15, 3.5,4.923333, 4.15, 3.5,5.126667, 4.15, 3.5,5.33, 4.15, 3.5,5.533334, 4.15, 3.5,5.736667, 4.15, 3.5,5.94, 4.15, 3.5,6.143334, 4.15, 3.5,6.346667, 4.15, 3.5,6.55, 4.15, 3.5,0.45, 4.35, 3.5,0.653333, 4.35, 3.5,0.856667, 4.35, 3.5,1.06, 4.35, 3.5,1.263333, 4.35, 3.5,1.466667, 4.35, 3.5,1.67, 4.35, 3.5,1.873333, 4.35, 3.5,2.076667, 4.35, 3.5,2.28, 4.35, 3.5,2.483333, 4.35, 3.5,2.686667, 4.35, 3.5,2.89, 4.35, 3.5,3.093333, 4.35, 3.5,3.296667, 4.35, 3.5,3.5, 4.35, 3.5,3.703333, 4.35, 3.5,3.906667, 4.35, 3.5,4.11, 4.35, 3.5,4.313333, 4.35, 3.5,4.516667, 4.35, 3.5,4.72, 4.35, 3.5,4.923333, 4.35, 3.5,5.126667, 4.35, 3.5,5.33, 4.35, 3.5,5.533334, 4.35, 3.5,5.736667, 4.35, 3.5,5.94, 4.35, 3.5,6.143334, 4.35, 3.5,6.346667, 4.35, 3.5,6.55, 4.35, 3.5,0.45, 4.55, 3.5,0.653333, 4.55, 3.5,0.856667, 4.55, 3.5,1.06, 4.55, 3.5,1.263333, 4.55, 3.5,1.466667, 4.55, 3.5,1.67, 4.55, 3.5,1.873333, 4.55, 3.5,2.076667, 4.55, 3.5,2.28, 4.55, 3.5,2.483333, 4.55, 3.5,2.686667, 4.55, 3.5,2.89, 4.55, 3.5,3.093333, 4.55, 3.5,3.296667, 4.55, 3.5,3.5, 4.55, 3.5,3.703333, 4.55, 3.5,3.906667, 4.55, 3.5,4.11, 4.55, 3.5,4.313333, 4.55, 3.5,4.516667, 4.55, 3.5,4.72, 4.55, 3.5,4.923333, 4.55, 3.5,5.126667, 4.55, 3.5,5.33, 4.55, 3.5,5.533334, 4.55, 3.5,5.736667, 4.55, 3.5,5.94, 4.55, 3.5,6.143334, 4.55, 3.5,6.346667, 4.55, 3.5,6.55, 4.55, 3.5,0.45, 4.75, 3.5,0.653333, 4.75, 3.5,0.856667, 4.75, 3.5,1.06, 4.75, 3.5,1.263333, 4.75, 3.5,1.466667, 4.75, 3.5,1.67, 4.75, 3.5,1.873333, 4.75, 3.5,2.076667, 4.75, 3.5,2.28, 4.75, 3.5,2.483333, 4.75, 3.5,2.686667, 4.75, 3.5,2.89, 4.75, 3.5,3.093333, 4.75, 3.5,3.296667, 4.75, 3.5,3.5, 4.75, 3.5,3.703333, 4.75, 3.5,3.906667, 4.75, 3.5,4.11, 4.75, 3.5,4.313333, 4.75, 3.5,4.516667, 4.75, 3.5,4.72, 4.75, 3.5,4.923333, 4.75, 3.5,5.126667, 4.75, 3.5,5.33, 4.75, 3.5,5.533334, 4.75, 3.5,5.736667, 4.75, 3.5,5.94, 4.75, 3.5,6.143334, 4.75, 3.5,6.346667, 4.75, 3.5,6.55, 4.75, 3.5,0.45, 4.95, 3.5,0.653333, 4.95, 3.5,0.856667, 4.95, 3.5,1.06, 4.95, 3.5,1.263333, 4.95, 3.5,1.466667, 4.95, 3.5,1.67, 4.95, 3.5,1.873333, 4.95, 3.5,2.076667, 4.95, 3.5,2.28, 4.95, 3.5,2.483333, 4.95, 3.5,2.686667, 4.95, 3.5,2.89, 4.95, 3.5,3.093333, 4.95, 3.5,3.296667, 4.95, 3.5,3.5, 4.95, 3.5,3.703333, 4.95, 3.5,3.906667, 4.95, 3.5,4.11, 4.95, 3.5,4.313333, 4.95, 3.5,4.516667, 4.95, 3.5,4.72, 4.95, 3.5,4.923333, 4.95, 3.5,5.126667, 4.95, 3.5,5.33, 4.95, 3.5,5.533334, 4.95, 3.5,5.736667, 4.95, 3.5,5.94, 4.95, 3.5,6.143334, 4.95, 3.5,6.346667, 4.95, 3.5,6.55, 4.95, 3.5,0.45, 5.15, 3.5,0.653333, 5.15, 3.5,0.856667, 5.15, 3.5,1.06, 5.15, 3.5,1.263333, 5.15, 3.5,1.466667, 5.15, 3.5,1.67, 5.15, 3.5,1.873333, 5.15, 3.5,2.076667, 5.15, 3.5,2.28, 5.15, 3.5,2.483333, 5.15, 3.5,2.686667, 5.15, 3.5,2.89, 5.15, 3.5,3.093333, 5.15, 3.5,3.296667, 5.15, 3.5,3.5, 5.15, 3.5,3.703333, 5.15, 3.5,3.906667, 5.15, 3.5,4.11, 5.15, 3.5,4.313333, 5.15, 3.5,4.516667, 5.15, 3.5,4.72, 5.15, 3.5,4.923333, 5.15, 3.5,5.126667, 5.15, 3.5,5.33, 5.15, 3.5,5.533334, 5.15, 3.5,5.736667, 5.15, 3.5,5.94, 5.15, 3.5,6.143334, 5.15, 3.5,6.346667, 5.15, 3.5,6.55, 5.15, 3.5,0.45, 5.35, 3.5,0.653333, 5.35, 3.5,0.856667, 5.35, 3.5,1.06, 5.35, 3.5,1.263333, 5.35, 3.5,1.466667, 5.35, 3.5,1.67, 5.35, 3.5,1.873333, 5.35, 3.5,2.076667, 5.35, 3.5,2.28, 5.35, 3.5,2.483333, 5.35, 3.5,2.686667, 5.35, 3.5,2.89, 5.35, 3.5,3.093333, 5.35, 3.5,3.296667, 5.35, 3.5,3.5, 5.35, 3.5,3.703333, 5.35, 3.5,3.906667, 5.35, 3.5,4.11, 5.35, 3.5,4.313333, 5.35, 3.5,4.516667, 5.35, 3.5,4.72, 5.35, 3.5,4.923333, 5.35, 3.5,5.126667, 5.35, 3.5,5.33, 5.35, 3.5,5.533334, 5.35, 3.5,5.736667, 5.35, 3.5,5.94, 5.35, 3.5,6.143334, 5.35, 3.5,6.346667, 5.35, 3.5,6.55, 5.35, 3.5,0.45, 5.55, 3.5,0.653333, 5.55, 3.5,0.856667, 5.55, 3.5,1.06, 5.55, 3.5,1.263333, 5.55, 3.5,1.466667, 5.55, 3.5,1.67, 5.55, 3.5,1.873333, 5.55, 3.5,2.076667, 5.55, 3.5,2.28, 5.55, 3.5,2.483333, 5.55, 3.5,2.686667, 5.55, 3.5,2.89, 5.55, 3.5,3.093333, 5.55, 3.5,3.296667, 5.55, 3.5,3.5, 5.55, 3.5,3.703333, 5.55, 3.5,3.906667, 5.55, 3.5,4.11, 5.55, 3.5,4.313333, 5.55, 3.5,4.516667, 5.55, 3.5,4.72, 5.55, 3.5,4.923333, 5.55, 3.5,5.126667, 5.55, 3.5,5.33, 5.55, 3.5,5.533334, 5.55, 3.5,5.736667, 5.55, 3.5,5.94, 5.55, 3.5,6.143334, 5.55, 3.5,6.346667, 5.55, 3.5,6.55, 5.55, 3.5,0.45, 5.75, 3.5,0.653333, 5.75, 3.5,0.856667, 5.75, 3.5,1.06, 5.75, 3.5,1.263333, 5.75, 3.5,1.466667, 5.75, 3.5,1.67, 5.75, 3.5,1.873333, 5.75, 3.5,2.076667, 5.75, 3.5,2.28, 5.75, 3.5,2.483333, 5.75, 3.5,2.686667, 5.75, 3.5,2.89, 5.75, 3.5,3.093333, 5.75, 3.5,3.296667, 5.75, 3.5,3.5, 5.75, 3.5,3.703333, 5.75, 3.5,3.906667, 5.75, 3.5,4.11, 5.75, 3.5,4.313333, 5.75, 3.5,4.516667, 5.75, 3.5,4.72, 5.75, 3.5,4.923333, 5.75, 3.5,5.126667, 5.75, 3.5,5.33, 5.75, 3.5,5.533334, 5.75, 3.5,5.736667, 5.75, 3.5,5.94, 5.75, 3.5,6.143334, 5.75, 3.5,6.346667, 5.75, 3.5,6.55, 5.75, 3.5,0.45, 5.95, 3.5,0.653333, 5.95, 3.5,0.856667, 5.95, 3.5,1.06, 5.95, 3.5,1.263333, 5.95, 3.5,1.466667, 5.95, 3.5,1.67, 5.95, 3.5,1.873333, 5.95, 3.5,2.076667, 5.95, 3.5,2.28, 5.95, 3.5,2.483333, 5.95, 3.5,2.686667, 5.95, 3.5,2.89, 5.95, 3.5,3.093333, 5.95, 3.5,3.296667, 5.95, 3.5,3.5, 5.95, 3.5,3.703333, 5.95, 3.5,3.906667, 5.95, 3.5,4.11, 5.95, 3.5,4.313333, 5.95, 3.5,4.516667, 5.95, 3.5,4.72, 5.95, 3.5,4.923333, 5.95, 3.5,5.126667, 5.95, 3.5,5.33, 5.95, 3.5,5.533334, 5.95, 3.5,5.736667, 5.95, 3.5,5.94, 5.95, 3.5,6.143334, 5.95, 3.5,6.346667, 5.95, 3.5,6.55, 5.95, 3.5,0.45, 6.15, 3.5,0.653333, 6.15, 3.5,0.856667, 6.15, 3.5,1.06, 6.15, 3.5,1.263333, 6.15, 3.5,1.466667, 6.15, 3.5,1.67, 6.15, 3.5,1.873333, 6.15, 3.5,2.076667, 6.15, 3.5,2.28, 6.15, 3.5,2.483333, 6.15, 3.5,2.686667, 6.15, 3.5,2.89, 6.15, 3.5,3.093333, 6.15, 3.5,3.296667, 6.15, 3.5,3.5, 6.15, 3.5,3.703333, 6.15, 3.5,3.906667, 6.15, 3.5,4.11, 6.15, 3.5,4.313333, 6.15, 3.5,4.516667, 6.15, 3.5,4.72, 6.15, 3.5,4.923333, 6.15, 3.5,5.126667, 6.15, 3.5,5.33, 6.15, 3.5,5.533334, 6.15, 3.5,5.736667, 6.15, 3.5,5.94, 6.15, 3.5,6.143334, 6.15, 3.5,6.346667, 6.15, 3.5,6.55, 6.15, 3.5,0.45, 6.35, 3.5,0.653333, 6.35, 3.5,0.856667, 6.35, 3.5,1.06, 6.35, 3.5,1.263333, 6.35, 3.5,1.466667, 6.35, 3.5,1.67, 6.35, 3.5,1.873333, 6.35, 3.5,2.076667, 6.35, 3.5,2.28, 6.35, 3.5,2.483333, 6.35, 3.5,2.686667, 6.35, 3.5,2.89, 6.35, 3.5,3.093333, 6.35, 3.5,3.296667, 6.35, 3.5,3.5, 6.35, 3.5,3.703333, 6.35, 3.5,3.906667, 6.35, 3.5,4.11, 6.35, 3.5,4.313333, 6.35, 3.5,4.516667, 6.35, 3.5,4.72, 6.35, 3.5,4.923333, 6.35, 3.5,5.126667, 6.35, 3.5,5.33, 6.35, 3.5,5.533334, 6.35, 3.5,5.736667, 6.35, 3.5,5.94, 6.35, 3.5,6.143334, 6.35, 3.5,6.346667, 6.35, 3.5,6.55, 6.35, 3.5,0.45, 6.55, 3.5,0.653333, 6.55, 3.5,0.856667, 6.55, 3.5,1.06, 6.55, 3.5,1.263333, 6.55, 3.5,1.466667, 6.55, 3.5,1.67, 6.55, 3.5,1.873333, 6.55, 3.5,2.076667, 6.55, 3.5,2.28, 6.55, 3.5,2.483333, 6.55, 3.5,2.686667, 6.55, 3.5,2.89, 6.55, 3.5,3.093333, 6.55, 3.5,3.296667, 6.55, 3.5,3.5, 6.55, 3.5,3.703333, 6.55, 3.5,3.906667, 6.55, 3.5,4.11, 6.55, 3.5,4.313333, 6.55, 3.5,4.516667, 6.55, 3.5,4.72, 6.55, 3.5,4.923333, 6.55, 3.5,5.126667, 6.55, 3.5,5.33, 6.55, 3.5,5.533334, 6.55, 3.5,5.736667, 6.55, 3.5,5.94, 6.55, 3.5,6.143334, 6.55, 3.5,6.346667, 6.55, 3.5,6.55, 6.55, 3.5,0.45, 6.75, 3.5,0.653333, 6.75, 3.5,0.856667, 6.75, 3.5,1.06, 6.75, 3.5,1.263333, 6.75, 3.5,1.466667, 6.75, 3.5,1.67, 6.75, 3.5,1.873333, 6.75, 3.5,2.076667, 6.75, 3.5,2.28, 6.75, 3.5,2.483333, 6.75, 3.5,2.686667, 6.75, 3.5,2.89, 6.75, 3.5,3.093333, 6.75, 3.5,3.296667, 6.75, 3.5,3.5, 6.75, 3.5,3.703333, 6.75, 3.5,3.906667, 6.75, 3.5,4.11, 6.75, 3.5,4.313333, 6.75, 3.5,4.516667, 6.75, 3.5,4.72, 6.75, 3.5,4.923333, 6.75, 3.5,5.126667, 6.75, 3.5,5.33, 6.75, 3.5,5.533334, 6.75, 3.5,5.736667, 6.75, 3.5,5.94, 6.75, 3.5,6.143334, 6.75, 3.5,6.346667, 6.75, 3.5,6.55, 6.75, 3.5,0.45, 6.95, 3.5,0.653333, 6.95, 3.5,0.856667, 6.95, 3.5,1.06, 6.95, 3.5,1.263333, 6.95, 3.5,1.466667, 6.95, 3.5,1.67, 6.95, 3.5,1.873333, 6.95, 3.5,2.076667, 6.95, 3.5,2.28, 6.95, 3.5,2.483333, 6.95, 3.5,2.686667, 6.95, 3.5,2.89, 6.95, 3.5,3.093333, 6.95, 3.5,3.296667, 6.95, 3.5,3.5, 6.95, 3.5,3.703333, 6.95, 3.5,3.906667, 6.95, 3.5,4.11, 6.95, 3.5,4.313333, 6.95, 3.5,4.516667, 6.95, 3.5,4.72, 6.95, 3.5,4.923333, 6.95, 3.5,5.126667, 6.95, 3.5,5.33, 6.95, 3.5,5.533334, 6.95, 3.5,5.736667, 6.95, 3.5,5.94, 6.95, 3.5,6.143334, 6.95, 3.5,6.346667, 6.95, 3.5,6.55, 6.95, 3.5,0.45, 7.15, 3.5,0.653333, 7.15, 3.5,0.856667, 7.15, 3.5,1.06, 7.15, 3.5,1.263333, 7.15, 3.5,1.466667, 7.15, 3.5,1.67, 7.15, 3.5,1.873333, 7.15, 3.5,2.076667, 7.15, 3.5,2.28, 7.15, 3.5,2.483333, 7.15, 3.5,2.686667, 7.15, 3.5,2.89, 7.15, 3.5,3.093333, 7.15, 3.5,3.296667, 7.15, 3.5,3.5, 7.15, 3.5,3.703333, 7.15, 3.5,3.906667, 7.15, 3.5,4.11, 7.15, 3.5,4.313333, 7.15, 3.5,4.516667, 7.15, 3.5,4.72, 7.15, 3.5,4.923333, 7.15, 3.5,5.126667, 7.15, 3.5,5.33, 7.15, 3.5,5.533334, 7.15, 3.5,5.736667, 7.15, 3.5,5.94, 7.15, 3.5,6.143334, 7.15, 3.5,6.346667, 7.15, 3.5,6.55, 7.15, 3.5,0.45, 7.35, 3.5,0.653333, 7.35, 3.5,0.856667, 7.35, 3.5,1.06, 7.35, 3.5,1.263333, 7.35, 3.5,1.466667, 7.35, 3.5,1.67, 7.35, 3.5,1.873333, 7.35, 3.5,2.076667, 7.35, 3.5,2.28, 7.35, 3.5,2.483333, 7.35, 3.5,2.686667, 7.35, 3.5,2.89, 7.35, 3.5,3.093333, 7.35, 3.5,3.296667, 7.35, 3.5,3.5, 7.35, 3.5,3.703333, 7.35, 3.5,3.906667, 7.35, 3.5,4.11, 7.35, 3.5,4.313333, 7.35, 3.5,4.516667, 7.35, 3.5,4.72, 7.35, 3.5,4.923333, 7.35, 3.5,5.126667, 7.35, 3.5,5.33, 7.35, 3.5,5.533334, 7.35, 3.5,5.736667, 7.35, 3.5,5.94, 7.35, 3.5,6.143334, 7.35, 3.5,6.346667, 7.35, 3.5,6.55, 7.35, 3.5,
  ];

  const colors = [
    238,250,134,255,235,249,135,255,231,247,136,255,227,246,137,255,223,244,139,255,217,242,140,255,212,240,142,255,205,238,144,255,199,236,146,255,191,233,148,255,183,230,150,255,175,227,153,255,166,224,155,255,156,221,158,255,147,217,161,255,136,213,164,255,126,210,167,255,116,206,170,255,105,202,173,255,95,199,176,255,85,195,179,255,75,192,182,255,66,188,184,255,58,185,187,255,50,183,189,255,43,180,191,255,37,178,193,255,32,176,194,255,29,175,195,255,27,174,196,255,26,174,196,255,245,252,132,255,242,251,133,255,240,250,134,255,236,249,135,255,232,248,136,255,228,246,137,255,223,244,139,255,217,242,140,255,211,240,142,255,204,237,144,255,196,235,147,255,188,232,149,255,179,229,151,255,170,225,154,255,160,222,157,255,150,218,160,255,140,215,163,255,129,211,166,255,118,207,169,255,108,203,172,255,97,199,175,255,86,196,178,255,76,192,181,255,67,189,184,255,58,185,187,255,50,183,189,255,43,180,191,255,37,178,193,255,32,176,194,255,29,175,195,255,27,174,196,255,250,254,131,255,248,253,131,255,246,252,132,255,243,252,133,255,240,250,134,255,236,249,135,255,232,248,136,255,227,246,138,255,221,244,139,255,215,241,141,255,208,239,143,255,200,236,145,255,192,233,148,255,183,230,150,255,174,227,153,255,164,223,156,255,153,219,159,255,142,216,162,255,131,212,165,255,120,208,169,255,109,204,172,255,98,200,175,255,87,196,178,255,77,192,181,255,67,189,184,255,58,185,187,255,50,183,189,255,43,180,191,255,37,178,193,255,32,176,194,255,28,175,195,255,252,255,130,255,252,254,130,255,250,254,131,255,248,253,131,255,246,253,132,255,243,252,133,255,240,250,134,255,236,249,135,255,231,247,136,255,225,245,138,255,219,243,140,255,212,240,142,255,204,238,144,255,196,234,147,255,186,231,149,255,177,228,152,255,166,224,155,255,156,220,158,255,144,216,162,255,133,212,165,255,122,208,168,255,110,204,172,255,99,200,175,255,88,196,178,255,77,192,181,255,67,189,184,255,58,185,187,255,49,182,189,255,42,180,191,255,36,178,193,255,31,176,194,255,253,255,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,248,253,131,255,246,252,132,255,243,251,133,255,239,250,134,255,234,248,136,255,228,246,137,255,222,244,139,255,215,241,141,255,207,239,143,255,198,235,146,255,189,232,149,255,179,229,152,255,168,225,155,255,157,221,158,255,146,217,161,255,134,213,165,255,122,208,168,255,110,204,171,255,99,200,175,255,87,196,178,255,76,192,181,255,66,188,184,255,57,185,187,255,48,182,190,255,41,179,192,255,35,177,193,255,252,254,130,255,253,254,130,255,253,255,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,248,253,132,255,245,252,132,255,241,251,134,255,236,249,135,255,231,247,136,255,224,245,138,255,217,242,140,255,209,239,143,255,200,236,145,255,191,233,148,255,181,229,151,255,170,225,154,255,158,221,158,255,146,217,161,255,134,213,164,255,122,208,168,255,110,204,172,255,98,200,175,255,86,196,178,255,75,192,182,255,65,188,185,255,55,185,187,255,47,182,190,255,40,179,192,255,250,250,129,255,251,252,130,255,252,253,130,255,253,254,130,255,253,255,130,255,253,255,130,255,252,255,130,255,251,254,131,255,249,254,131,255,246,253,132,255,243,251,133,255,238,250,134,255,233,248,136,255,226,246,138,255,219,243,140,255,211,240,142,255,202,237,145,255,192,233,148,255,182,229,151,255,170,225,154,255,159,221,157,255,146,217,161,255,134,213,165,255,121,208,168,255,109,204,172,255,97,199,175,255,85,195,179,255,74,191,182,255,63,187,185,255,54,184,188,255,45,181,190,255,246,245,129,255,248,248,129,255,250,250,129,255,251,252,130,255,252,253,130,255,253,254,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,248,253,132,255,244,252,133,255,240,250,134,255,234,248,135,255,228,246,137,255,220,243,139,255,212,240,142,255,203,237,145,255,193,233,148,255,182,230,151,255,170,225,154,255,158,221,158,255,146,217,161,255,133,212,165,255,120,208,169,255,107,203,172,255,95,199,176,255,83,194,179,255,72,190,183,255,61,187,186,255,52,183,188,255,242,238,128,255,244,242,128,255,246,245,129,255,248,248,129,255,250,250,129,255,251,252,130,255,252,254,130,255,253,255,130,255,253,255,130,255,252,255,130,255,251,254,131,255,249,253,131,255,245,252,132,255,241,251,134,255,235,249,135,255,229,246,137,255,221,244,139,255,213,241,142,255,203,237,144,255,193,233,148,255,182,230,151,255,170,225,154,255,157,221,158,255,144,216,162,255,131,212,165,255,118,207,169,255,105,202,173,255,93,198,177,255,81,193,180,255,69,189,183,255,59,186,186,255,237,230,126,255,239,234,127,255,242,238,128,255,244,242,128,255,247,245,129,255,249,249,129,255,250,251,129,255,252,253,130,255,253,254,130,255,253,255,130,255,253,255,130,255,251,254,130,255,249,254,131,255,246,252,132,255,241,251,133,255,236,249,135,255,229,247,137,255,222,244,139,255,213,241,142,255,203,237,145,255,192,233,148,255,181,229,151,255,168,225,155,255,156,220,158,255,142,216,162,255,129,211,166,255,116,206,170,255,102,201,174,255,90,197,177,255,78,192,181,255,66,188,184,255,230,220,125,255,233,225,126,255,237,230,126,255,240,235,127,255,243,239,128,255,245,243,128,255,248,247,129,255,250,250,129,255,251,252,130,255,252,254,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,246,253,132,255,242,251,133,255,236,249,135,255,229,247,137,255,221,244,139,255,212,240,142,255,202,237,145,255,191,233,148,255,179,229,152,255,166,224,155,255,153,219,159,255,140,215,163,255,126,210,167,255,112,205,171,255,99,200,175,255,86,196,178,255,74,191,182,255,223,210,123,255,227,215,124,255,231,221,125,255,234,226,126,255,238,232,127,255,241,237,127,255,244,241,128,255,247,245,129,255,249,249,129,255,251,252,130,255,252,254,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,246,253,132,255,242,251,133,255,236,249,135,255,229,246,137,255,221,243,139,255,211,240,142,255,201,236,145,255,189,232,149,255,177,228,152,255,164,223,156,255,150,218,160,255,136,213,164,255,122,208,168,255,109,203,172,255,95,199,176,255,82,194,180,255,216,198,122,255,220,204,123,255,224,211,124,255,228,217,124,255,232,223,125,255,236,229,126,255,239,234,127,255,243,240,128,255,246,244,128,255,248,248,129,255,250,251,129,255,252,253,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,246,253,132,255,242,251,133,255,235,249,135,255,228,246,137,255,219,243,140,255,209,239,143,255,198,236,146,255,186,231,149,255,174,227,153,255,160,222,157,255,146,217,161,255,132,212,165,255,118,207,169,255,104,202,173,255,91,197,177,255,207,186,120,255,212,192,121,255,216,199,122,255,221,206,123,255,226,213,124,255,230,220,125,255,234,226,126,255,238,233,127,255,242,238,128,255,245,243,128,255,248,247,129,255,250,251,129,255,252,253,130,255,253,255,130,255,253,255,130,255,252,255,130,255,250,254,131,255,246,252,132,255,241,251,134,255,234,248,135,255,227,246,138,255,217,242,140,255,207,239,143,255,196,235,147,255,183,230,150,255,170,225,154,255,156,220,158,255,142,215,162,255,128,210,166,255,113,205,171,255,99,200,175,255,199,173,118,255,204,180,119,255,209,188,120,255,214,195,121,255,219,203,122,255,224,210,123,255,228,218,125,255,233,225,126,255,237,231,127,255,241,237,127,255,245,242,128,255,248,247,129,255,250,251,129,255,252,253,130,255,253,255,130,255,253,255,130,255,252,255,130,255,249,254,131,255,245,252,132,255,240,250,134,255,233,248,136,255,225,245,138,255,215,241,141,255,204,238,144,255,192,233,148,255,179,229,151,255,166,224,155,255,152,219,159,255,137,214,164,255,123,208,168,255,108,203,172,255,190,160,116,255,196,168,117,255,201,175,118,255,206,184,120,255,211,192,121,255,217,200,122,255,222,208,123,255,227,216,124,255,232,223,125,255,237,230,126,255,241,237,127,255,245,242,128,255,248,247,129,255,250,251,129,255,252,253,130,255,253,255,130,255,253,255,130,255,252,254,130,255,249,253,131,255,244,252,133,255,238,250,134,255,231,247,136,255,222,244,139,255,212,240,142,255,201,236,145,255,188,232,149,255,175,227,153,255,161,222,157,255,146,217,161,255,131,212,165,255,117,206,170,255,182,147,114,255,187,155,115,255,193,163,117,255,198,172,118,255,204,180,119,255,210,189,120,255,215,198,122,255,221,206,123,255,226,215,124,255,232,223,125,255,236,230,126,255,241,237,127,255,245,242,128,255,248,247,129,255,250,251,129,255,252,254,130,255,253,255,130,255,253,255,130,255,251,254,131,255,248,253,132,255,243,251,133,255,237,249,135,255,229,246,137,255,219,243,140,255,208,239,143,255,196,235,146,255,183,230,150,255,170,225,154,255,155,220,158,255,140,215,163,255,125,209,167,255,174,134,112,255,179,142,114,255,184,151,115,255,190,159,116,255,196,169,117,255,202,178,119,255,208,187,120,255,214,196,121,255,220,205,123,255,226,214,124,255,232,222,125,255,237,230,126,255,241,237,127,255,245,243,128,255,248,248,129,255,251,252,129,255,252,254,130,255,253,255,130,255,252,255,130,255,250,254,131,255,247,253,132,255,241,251,133,255,234,248,135,255,226,245,138,255,215,242,141,255,204,238,144,255,191,233,148,255,178,228,152,255,164,223,156,255,149,218,160,255,134,212,165,255,165,122,111,255,171,130,112,255,176,138,113,255,182,147,114,255,188,157,116,255,195,166,117,255,201,176,118,255,208,186,120,255,214,196,121,255,220,205,123,255,226,214,124,255,232,223,125,255,237,231,126,255,242,238,127,255,246,244,128,255,249,249,129,255,251,252,130,255,253,254,130,255,253,255,130,255,252,255,130,255,249,254,131,255,245,252,132,255,239,250,134,255,231,247,136,255,222,244,139,255,211,240,142,255,199,236,146,255,186,231,150,255,172,226,154,255,157,221,158,255,142,215,162,255,158,110,109,255,163,118,110,255,169,127,111,255,175,136,113,255,181,145,114,255,187,155,115,255,194,165,117,255,201,176,118,255,208,186,120,255,214,196,121,255,221,206,123,255,227,215,124,255,233,224,125,255,238,232,127,255,243,239,128,255,246,245,129,255,249,250,129,255,252,253,130,255,253,255,130,255,253,255,130,255,251,254,130,255,248,253,131,255,243,251,133,255,236,249,135,255,228,246,137,255,217,242,140,255,206,238,144,255,193,234,147,255,179,229,151,255,165,223,156,255,149,218,160,255,150,99,107,255,155,107,108,255,161,115,110,255,167,124,111,255,173,134,112,255,180,144,114,255,187,154,115,255,194,165,117,255,201,176,118,255,208,187,120,255,215,197,122,255,222,207,123,255,228,217,124,255,234,226,126,255,239,234,127,255,244,241,128,255,247,246,129,255,250,251,129,255,252,254,130,255,253,255,130,255,253,255,130,255,250,254,131,255,246,253,132,255,240,250,134,255,233,248,136,255,223,244,139,255,212,240,142,255,200,236,145,255,187,231,149,255,172,226,154,255,157,221,158,255,143,88,106,255,148,96,107,255,154,104,108,255,160,113,109,255,166,123,111,255,173,133,112,255,180,144,114,255,187,155,115,255,194,166,117,255,202,177,119,255,209,188,120,255,216,199,122,255,223,209,123,255,229,219,125,255,235,228,126,255,240,236,127,255,245,243,128,255,248,248,129,255,251,252,130,255,253,254,130,255,253,255,130,255,252,255,130,255,249,253,131,255,244,252,133,255,237,249,135,255,228,246,137,255,218,243,140,255,206,238,144,255,193,234,147,255,179,229,151,255,164,223,156,255,137,79,104,255,142,86,105,255,147,94,107,255,153,103,108,255,159,113,109,255,166,123,111,255,173,133,112,255,180,145,114,255,188,156,116,255,195,168,117,255,203,179,119,255,211,191,121,255,218,202,122,255,225,212,124,255,231,222,125,255,237,231,126,255,242,238,128,255,246,245,129,255,250,250,129,255,252,253,130,255,253,255,130,255,253,255,130,255,251,254,131,255,247,253,132,255,241,251,134,255,233,248,136,255,223,244,139,255,212,240,142,255,200,236,146,255,186,231,150,255,171,226,154,255,132,70,103,255,136,77,104,255,141,85,105,255,147,94,106,255,153,103,108,255,160,113,109,255,167,124,111,255,174,135,112,255,182,146,114,255,189,158,116,255,197,170,118,255,205,182,119,255,213,194,121,255,220,205,123,255,227,215,124,255,233,225,126,255,239,234,127,255,244,241,128,255,248,247,129,255,251,251,129,255,252,254,130,255,253,255,130,255,252,255,130,255,249,254,131,255,244,252,133,255,237,249,135,255,228,246,137,255,217,242,140,255,205,238,144,255,192,233,148,255,177,228,152,255,127,63,102,255,131,69,103,255,136,77,104,255,141,85,105,255,147,94,106,255,153,104,108,255,160,114,109,255,168,125,111,255,175,137,113,255,183,149,115,255,191,161,116,255,200,174,118,255,208,186,120,255,215,198,122,255,223,209,123,255,230,219,125,255,236,229,126,255,241,237,127,255,246,244,128,255,249,249,129,255,252,253,130,255,253,255,130,255,253,255,130,255,251,254,131,255,246,253,132,255,240,250,134,255,232,248,136,255,222,244,139,255,211,240,142,255,198,235,146,255,183,230,150,255,122,56,101,255,126,62,102,255,131,69,103,255,136,77,104,255,141,85,105,255,148,95,107,255,155,105,108,255,162,116,110,255,170,128,111,255,178,140,113,255,186,153,115,255,194,165,117,255,202,178,119,255,211,190,121,255,218,202,122,255,226,213,124,255,232,224,125,255,238,233,127,255,244,241,128,255,248,247,129,255,251,251,129,255,252,254,130,255,253,255,130,255,252,255,130,255,249,253,131,255,243,252,133,255,236,249,135,255,227,246,138,255,216,242,141,255,203,237,145,255,189,232,149,255,119,51,100,255,122,56,101,255,126,62,102,255,131,70,103,255,137,78,104,255,143,87,105,255,149,97,107,255,156,108,109,255,164,120,110,255,172,132,112,255,180,145,114,255,189,158,116,255,197,170,118,255,206,183,120,255,214,196,121,255,222,207,123,255,229,218,125,255,235,228,126,255,241,237,127,255,246,244,128,255,249,249,129,255,252,253,130,255,253,255,130,255,253,255,130,255,250,254,131,255,246,252,132,255,239,250,134,255,230,247,137,255,220,243,140,255,208,239,143,255,194,234,147,255,116,46,100,255,119,51,100,255,123,57,101,255,127,63,102,255,132,71,103,255,138,80,104,255,144,90,106,255,151,100,107,255,159,112,109,255,167,124,111,255,175,137,113,255,184,150,115,255,193,163,117,255,201,176,118,255,210,189,120,255,218,202,122,255,225,213,124,255,232,224,125,255,239,233,127,255,244,241,128,255,248,247,129,255,251,252,130,255,253,254,130,255,253,255,130,255,251,254,130,255,248,253,132,255,242,251,133,255,234,248,136,255,224,245,138,255,212,240,142,255,199,236,146,255,113,43,99,255,116,47,100,255,119,52,100,255,123,58,101,255,128,65,102,255,134,73,103,255,140,83,105,255,147,93,106,255,154,105,108,255,162,117,110,255,170,129,112,255,179,143,114,255,188,156,116,255,197,170,118,255,206,183,119,255,214,196,121,255,222,208,123,255,229,219,125,255,236,229,126,255,242,238,127,255,246,245,129,255,250,250,129,255,252,254,130,255,253,255,130,255,252,255,130,255,249,254,131,255,244,252,133,255,237,249,135,255,227,246,137,255,216,242,141,255,203,237,144,255,112,40,99,255,114,43,99,255,117,48,100,255,120,53,101,255,125,60,101,255,130,68,103,255,136,77,104,255,142,87,105,255,150,98,107,255,158,110,109,255,166,122,111,255,175,136,113,255,184,149,115,255,193,163,117,255,202,177,119,255,210,190,121,255,219,203,122,255,226,215,124,255,233,225,126,255,240,235,127,255,245,242,128,255,249,248,129,255,251,253,130,255,253,255,130,255,253,255,130,255,250,254,131,255,246,252,132,255,239,250,134,255,230,247,137,255,220,243,140,255,207,239,143,255,110,38,98,255,112,41,99,255,115,44,99,255,118,49,100,255,122,55,101,255,127,63,102,255,132,71,103,255,139,81,105,255,146,92,106,255,153,103,108,255,162,116,110,255,170,129,112,255,179,143,114,255,189,157,116,255,198,171,118,255,207,185,120,255,215,198,122,255,223,210,123,255,231,221,125,255,237,231,127,255,243,240,128,255,247,247,129,255,251,251,129,255,253,254,130,255,253,255,130,255,251,254,130,255,248,253,132,255,241,251,133,255,233,248,136,255,223,244,139,255,211,240,142,255,110,37,98,255,111,39,98,255,113,42,99,255,116,46,99,255,119,51,100,255,124,58,101,255,129,66,102,255,135,76,104,255,142,86,105,255,150,98,107,255,158,110,109,255,166,123,111,255,176,137,113,255,185,151,115,255,194,165,117,255,203,179,119,255,212,193,121,255,221,206,123,255,228,218,125,255,235,228,126,255,241,237,127,255,246,245,128,255,250,250,129,255,252,254,130,255,253,255,130,255,252,255,130,255,249,254,131,255,243,252,133,255,236,249,135,255,226,245,138,255,214,241,141,255,109,36,98,255,110,37,98,255,111,40,99,255,114,43,99,255,117,48,100,255,121,55,101,255,126,62,102,255,132,71,103,255,139,81,105,255,146,93,106,255,154,105,108,255,163,118,110,255,172,132,112,255,181,146,114,255,191,160,116,255,200,175,118,255,209,188,120,255,218,202,122,255,226,214,124,255,233,225,126,255,240,235,127,255,245,243,128,255,249,249,129,255,252,253,130,255,253,255,130,255,253,255,130,255,250,254,131,255,245,252,132,255,238,250,134,255,228,246,137,255,217,242,140,255,109,36,98,255,109,37,98,255,110,38,98,255,112,41,99,255,115,46,99,255,119,51,100,255,124,59,101,255,129,67,103,255,136,77,104,255,143,88,106,255,151,100,107,255,160,113,109,255,169,127,111,255,178,141,113,255,188,156,115,255,197,170,118,255,207,184,120,255,215,198,122,255,224,211,124,255,231,222,125,255,238,232,127,255,244,241,128,255,248,247,129,255,251,252,130,255,253,255,130,255,253,255,130,255,251,254,131,255,246,253,132,255,239,250,134,255,230,247,137,255,219,243,140,255,
  ];

  sceneModelWithPoints.createGeometry({
    id: "pointsGeometry",
    primitive: "points",
    positions: positions,
    colors: colors
  });

  sceneModelWithPoints.createMesh({
    id: "pointsMesh",
    geometryId: "pointsGeometry",
    position: [0, 0, 0],
    scale: [1, 1, 1],
    rotation: [-90, 0, 0]
  });

  sceneModelWithPoints.createEntity({
    id: "geometries",
    meshIds: ["pointsMesh"]
  });

  sceneModelWithPoints.finalize();

  window.viewer = viewer;

</script>
</html>